package com.shishi.fast;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动
 */
@EnableAsync
@EnableScheduling
@SpringBootApplication
@ComponentScan("com.shishi")
@MapperScan("com.shishi.fast.**.mapper")
public class ShishiApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShishiApplication.class, args);
    }

}
